package caikenuan.rbac.domain.entity;
/**
 * 实体类-角色
 *
 * @author caikenuan
 * since 2025/4/20 17:34
 */

public class Role extends BaseEntity {


    /**
     * 角色名称
     */
    public String name;

    /**
     * 数据访问范围,只能是【个人、部门、全局】
     */
    public String dataScope;

    public Role() {
    }

    public Role(int id, String name, String dataScope) {
        super(id);
        this.name = name;
        this.dataScope = dataScope;
    }
}
